package Practice03;

public class Student {
    private int sNo;
    private String sName;
    private String sSex;
    private int sAge;
    private int sJava;

    public Student(int sNo,String sName,String sSex,int sAge,int sJava){
        this.sNo = sNo;
        this.sName = sName;
        this.sSex = sSex;
        this.sAge = sAge;
        this.sJava = sJava;
    }

    public int getsNo() {
        return sNo;
    }

    public String getsName() {
        return sName;
    }

    public String getsSex() {
       return sSex;
    }

    public int getsJava() {
        return sJava;
    }

    public int getsAge() {
        return sAge;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sNo=" + sNo +
                ", sName='" + sName + '\'' +
                ", sSex='" + sSex + '\'' +
                ", sAge=" + sAge +
                ", sJava=" + sJava +
                '}';
    }
}
